package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.customer.model.domain.BankAccount;
import com.jzo2o.customer.model.dto.request.BankAccountUpsertReqDTO;
import com.jzo2o.customer.model.dto.response.BankAccountResDTO;

/**
 * @author: menghao
 * @version: 1.0
 * @Date: 2025/09/17 9:26
 * @Description:
 */
public interface IBankAccountService extends IService<BankAccount> {
    /**
     * 新增或更新银行账户
     * @param dto
     */
    void upSert(BankAccountUpsertReqDTO dto);

    /**
     * 查询当前用户银行账户
     * @return
     */
    BankAccountResDTO queryCurrentUserBankAccount();

}
